<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>选择兴趣 - AI单词</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background-color: #f9fafb;
            height: 100vh;
            margin: 0;
            padding: 0;
        }
        .app-container {
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .nav-bar {
            height: 50px;
            background-color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }
        .tab-bar {
            height: 70px;
            background-color: white;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            display: flex;
            justify-content: space-around;
            align-items: center;
            position: fixed;
            bottom: 0;
            width: 100%;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        }
        .tab-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #6b7280;
            font-size: 10px;
        }
        .tab-item.active {
            color: #6366f1;
        }
        .tab-icon {
            font-size: 22px;
            margin-bottom: 4px;
        }
        .content {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
        }
        .interest-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-top: 20px;
        }
        .interest-item {
            background-color: white;
            border-radius: 16px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }
        
        .interest-item.vip-locked::after {
            content: '';
            position: absolute;
            right: 0;
            bottom: 0;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 0 0 60px 60px;
            border-color: transparent transparent rgba(99, 102, 241, 0.7) transparent;
        }
        
        .interest-item.vip-locked::before {
            content: 'VIP';
            position: absolute;
            right: 15px;  /* 调整位置 */
            bottom: 15px;  /* 调整位置 */
            color:rgb(16, 11, 251);
            font-size: 22px;
            font-weight: bold;
            transform: translate(50%, 50%) rotate(-45deg);  /* 使用translate居中 */
            transform-origin: center;  /* 修改旋转中心 */
            z-index: 1;  /* 确保文字在三角形上方 */
        }
        .interest-item.selected {
            border-color: #6366f1;
            background-color: rgba(99, 102, 241, 0.05);
        }
        .interest-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 24px;
            margin-bottom: 15px;
        }
        .interest-name {
            font-weight: 600;
            color: #374151;
            margin-bottom: 5px;
        }
        .interest-desc {
            font-size: 12px;
            color: #6b7280;
            text-align: center;
        }
        .continue-btn {
            background: linear-gradient(90deg, #4f46e5, #7c3aed);
            color: white;
            border-radius: 12px;
            padding: 15px;
            width: 100%;
            font-size: 16px;
            font-weight: bold;
            border: none;
            margin-top: 30px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
    </style>
</head>
<body>
    <div class="app-container">
        <div class="nav-bar">
            <i class="fas fa-arrow-left text-gray-600"></i>
            <span class="font-semibold">选择你的兴趣</span>
            <span class="text-indigo-600">跳过</span>
        </div>
        
        <div class="content">
            <h1 class="text-2xl font-bold text-gray-800">你对哪些领域感兴趣？</h1>
            <p class="text-gray-600 mt-2">我们将根据你的兴趣定制个性化的学习内容</p>
            
            <div class="interest-grid">
                <div class="interest-item" onclick="this.classList.toggle('selected')">
                    <div class="interest-icon">
                        <i class="fas fa-gamepad"></i>
                    </div>
                    <div class="interest-name">游戏</div>
                    <div class="interest-desc">电子游戏、桌游等相关词汇</div>
                </div>
                
                <div class="interest-item" onclick="this.classList.toggle('selected')">
                    <div class="interest-icon">
                        <i class="fas fa-film"></i>
                    </div>
                    <div class="interest-name">影视</div>
                    <div class="interest-desc">电影、电视剧相关词汇</div>
                </div>
                
                <div class="interest-item vip-locked" onclick="alert('请先购买会员！')">
                    <div class="interest-icon">
                        <i class="fas fa-microchip"></i>
                    </div>
                    <div class="interest-name">科技</div>
                    <div class="interest-desc">IT、人工智能等科技词汇</div>
                </div>
                
                <div class="interest-item vip-locked" onclick="alert('请先购买会员！')">
                    <div class="interest-icon">
                        <i class="fas fa-landmark"></i>
                    </div>
                    <div class="interest-name">历史</div>
                    <div class="interest-desc">历史事件、人物相关词汇</div>
                </div>
                
                <div class="interest-item vip-locked" onclick="alert('请先购买会员！')">
                    <div class="interest-icon">
                        <i class="fas fa-flask"></i>
                    </div>
                    <div class="interest-name">科学</div>
                    <div class="interest-desc">物理、化学等科学词汇</div>
                </div>
                
                <div class="interest-item vip-locked" onclick="alert('请先购买会员！')">
                    <div class="interest-icon">
                        <i class="fas fa-futbol"></i>
                    </div>
                    <div class="interest-name">体育</div>
                    <div class="interest-desc">各类体育运动相关词汇</div>
                </div>
                
                <div class="interest-item vip-locked" onclick="alert('请先购买会员！')">
                    <div class="interest-icon">
                        <i class="fas fa-utensils"></i>
                    </div>
                    <div class="interest-name">美食</div>
                    <div class="interest-desc">烹饪、食材等美食词汇</div>
                </div>
                
                <div class="interest-item vip-locked" onclick="alert('请先购买会员！')">
                    <div class="interest-icon">
                        <i class="fas fa-music"></i>
                    </div>
                    <div class="interest-name">音乐</div>
                    <div class="interest-desc">音乐、乐器等相关词汇</div>
                </div>
            </div>
            
            <button class="continue-btn" onclick="window.location.href='word-learning.html'">
                继续
            </button>
        </div>
    </div>
</body>
</html>